package invoicesystem.entry;

public class Order {
    private Integer   id;//主键
    private String no;//订单编号
    private Double total_amount;//订单总金额
    private Integer enterprise_id;//企业id
    private String enterprise_name;//相关企业名称
    private String invoicing_status;//开票状态
    private Integer invoicing_record_id;//开票记录表主键
    private String create_time;//创建时间

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", no='" + no + '\'' +
                ", total_amount=" + total_amount +
                ", enterprise_id=" + enterprise_id +
                ", enterprise_name='" + enterprise_name + '\'' +
                ", invoicing_status='" + invoicing_status + '\'' +
                ", invoicing_record_id=" + invoicing_record_id +
                ", create_time='" + create_time + '\'' +
                '}';
    }

    public Double getTotal_amount() {
        return total_amount;
    }

    public void setTotal_amount(Double total_amount) {
        this.total_amount = total_amount;
    }

    public Integer getEnterprise_id() {
        return enterprise_id;
    }

    public void setEnterprise_id(Integer enterprise_id) {
        this.enterprise_id = enterprise_id;
    }

    public String getEnterprise_name() {
        return enterprise_name;
    }

    public void setEnterprise_name(String enterprise_name) {
        this.enterprise_name = enterprise_name;
    }

    public String getInvoicing_status() {
        return invoicing_status;
    }

    public void setInvoicing_status(String invoicing_status) {
        this.invoicing_status = invoicing_status;
    }

    public Integer getInvoicing_record_id() {
        return invoicing_record_id;
    }

    public void setInvoicing_record_id(Integer invoicing_record_id) {
        this.invoicing_record_id = invoicing_record_id;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public Order(Integer id, String no, Double total_amount, Integer enterprise_id, String enterprise_name, String invoicing_status, Integer invoicing_record_id, String create_time) {
        this.id = id;
        this.no = no;
        this.total_amount = total_amount;
        this.enterprise_id = enterprise_id;
        this.enterprise_name = enterprise_name;
        this.invoicing_status = invoicing_status;
        this.invoicing_record_id = invoicing_record_id;
        this.create_time = create_time;
    }

    public Order() {
    }
}
